import navCom from '@/components/navCom/index.vue'
import SwitchCard from '@/components/SwitchCard/index.vue'
import ProTable from '@/components/ProTable/index.vue'
import PageSearch from '@/components/PageSearch/index.vue'
import PageList from '@/components/PageList/index.vue'
export default {
  install: Vue => {
    Vue.component('navCom', navCom)
    Vue.component('ProTable', ProTable) // element-plus table的二次封装，内置插槽
    Vue.component('PageSearch', PageSearch) // element-plus search拼接组件，根据type判断显示类型
    Vue.component('PageList', PageList) // element-plus 分页组件，内置插槽嵌入表格
    Vue.component('SwitchCard', SwitchCard)
  }
}
